'use strict'

const Controller = require('egg').Controller

class HomeController extends Controller {
  async index() {
    console.log('-----------index-------------');
    // const agent = this.ctx.getAgent()
    this.ctx.body = {
      code: 0,
      message: 'home controller',
      // agent,
      thisLink: this,
    }
  }
}

module.exports = HomeController
